package com.example.mysqltry.dao;

import com.example.mysqltry.entity.MallGoodsCategory;
import com.example.mysqltry.util.PageQueryUtil;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MallGoodsCategoryMapper {


    List<MallGoodsCategory> findGoodsCategoryList(PageQueryUtil pageUtil);

    int getTotalGoodsCategories(PageQueryUtil pageUtil);

    List<MallGoodsCategory> selectByLevelAndParentIdsAndNumber(@Param("parentIds") List<Long> parentIds, @Param("categoryLevel") Integer categoryLevel, @Param("number") int number);
}
